<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
    <title>大咖说</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta name="author" content="飞啊飘啊">
	<meta name="hashcode" content="-556451786">
	
	<script>window.duteTag="lz";</script>
	<script type="text/javascript" src="/manage/js/dute-1.0.js"></script>
	<script type="text/javascript" src="/manage/js/jquery-1.7.1.min.js"></script>

	<script type="text/javascript" src="/manage/js/lazy3q.ui.js"></script>
	<script>
		document.write('<link rel="stylesheet" type="text/css" href="/manage//css/'+($.cookie('theme')||'elegant')+'/lazy3q.ui.css" /> ');
	</script>
	
	<!-- 用户自定义js(懒加载) -->
	<script type="text/javascript" src="/manage/js/define.js"></script>
	<!-- 用户自定义css样式 -->
	<link rel="stylesheet" type="text/css" href="/manage/css/define.css"/>
	
	
	
	<script type="text/javascript">
		window.basePath="/";
		window.hashcode = "-556451786";
	</script>
		
	<!-- 感谢kindeditor出品的在线HTML编辑控件 -->
	<script type="text/javascript" charset="utf-8" src="/manage/js/kindeditor/kindeditor.js"></script>
		
	<!-- 感谢My97DatePicker出品的时间控件 -->
	<script language="javascript" type="text/javascript" src="/manage/js/My97DatePicker/WdatePicker.js"></script>
	
	<!------------------------VIEW_HTML_HEAD------------------------>
	<!------------------------VIEW_HTML_HEAD------------------------>	
	
</head>
<script>
Page({
  data:{
    
  },
  onLoad: function(options) {
  	var THIS = this;
  	THIS.setData(options);
  	$.getAjax("higher.get.do",options,function(protocol){
  		if(protocol.message){
  			$.toast(protocol.message);
  		}
  		THIS.setData(protocol.data);
  		/******************VIEW_HTML_SET_DATA******************/
  		/******************VIEW_HTML_SET_DATA******************/
  	});
  }
});
</script>
<script>
window["lzFlashUrl"]=top.lzFlashUrl||"/admin/flash/";
window["uploadUrl"]=top.uploadUrl||"/admin/upload.do";

$(function(){
		 
	$("#higherForm").form({
		"":function(){}
		,"higher.id":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"higher.commodity":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"higher.header":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "头像不能为空";
			}
		}
		,"higher.username":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "用户名不能为空";
			}
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "用户名最大长度为32个字符";
		}
		,"higher.titler":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "头衔不能为空";
			}
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "头衔最大长度为32个字符";
		}
		,"higher.content":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "评论内容不能为空";
			}
			if(el.value.length>256 && el.value.indexOf("[*]")==-1)
				return "评论内容最大长度为256个字符";
		}
		,"higher.displayTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "显示时间不能为空";
			}
		}
		,"higher.updateTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "修改时间不能为空";
			}
		}
		,"higher.addTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "添加时间不能为空";
			}
		}
		,"higher.status":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "请选择状态";
			}
		}
		,"higher.merchant":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
	},function(){
		/******************************LAZY3Q_FORM_VALIDATE******************************/
		/******************************LAZY3Q_FORM_VALIDATE******************************/
	});		
});
</script>

<body style="display:none;">



<!------------------------VIEW_HTML_TOP------------------------>
<!------------------------VIEW_HTML_TOP------------------------>



<form lz:if="{{edittype=='insert'||edittype=='update'||edittype=='detail'||edittype=='any'}}" class="form editform edittype_{{edittype}}" ref="Higher" id="higherForm" name="higherForm" target="jsoniframe" action="higher.{{edittype=='any'?'update':edittype}}.do" method="post">
	<div class="head"></div>
	<div class="body">
		<div class="content">
			<div lz:if="{{edittype!='detail'}}" class="prompt">
				温馨提示：请仔细填写大咖说相关信息，<span class="extrude">"*" 为必填选项。</span>
			</div>
			<br/>
			<lz:block lz:if="{{message}}">
			<br/>
			<center>
				<font color="red"><h4>{{message}}</h4></font>
			</center>
			<br/>
			</lz:block>
			<input type="hidden" value="{{complete}}" name="complete" id="complete" />
			<input type="hidden" value="{{ids}}" name="ids" id="ids" />
			<textarea name="PARAMS" id="PARAMS" style="display:none">{{PARAMS}}</textarea>
	{{lz.set("id_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"id"))))}}
	{{lz.set("id_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$id}}
	<dl lz:if="{{id_editable||id_readonly}}" class="id hidden " major  ref="id">
		<dt>编　　号:</dt>
		<dd lz:if="{{id_editable}}" input="hidden">
			<lz:block lz:if="{{higher$id}}">
				{{higher$id}}
			</lz:block>
			<lz:block lz:if="{{!higher$id}}">
			<input type="hidden" value="{{lz.htm(higher.id)}}" name="higher.id" id="id" />
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{id_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="id">{{higher.id}}</textarea>
		 		<span>
		 	
			 {{lz.html(higher.id$||higher.id)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$id}}
	{{lz.set("commodity_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"commodity"))))}}
	{{lz.set("commodity_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$commodity}}
	<dl lz:if="{{commodity_editable||commodity_readonly}}" class="commodity  " major  ref="commodity">
		<dt>商品信息:</dt>
		<dd lz:if="{{commodity_editable}}" input="query">
			<lz:block lz:if="{{higher$commodity}}">
				{{higher$commodity}}
			</lz:block>
			<lz:block lz:if="{{!higher$commodity}}">
		 			<input title="请输入商品信息商品名称进行查询" class="combox narrow" action="/manage/query.Commodity.do?value={param}" type="text" id="commodity" name="higher.commodity" text="{{lz.html(higher.commodity$||higher.commodity)}}" value="{{lz.htm(higher.commodity)}}" />
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{commodity_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="commodity">{{higher.commodity}}</textarea>
		 		<span>
		 	
			 {{lz.html(higher.commodity$||higher.commodity)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$commodity}}
	{{lz.set("header_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"header"))))}}
	{{lz.set("header_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$header}}
	<dl lz:if="{{header_editable||header_readonly}}" class="header   wider" major  ref="header">
		<dt>头　　像:</dt>
		<dd lz:if="{{header_editable}}" input="image">
			<lz:block lz:if="{{higher$header}}">
				{{higher$header}}
			</lz:block>
			<lz:block lz:if="{{!higher$header}}">
		    <input type="text" class="input" maxlength="128" size="32" name="higher.header" id="header"  value="{{lz.htm(higher.header)}}"/>
			<button type="button" onclick="$.upload({type:'img',callback:function(url){if(url)$('#header').val(url)}})" class="button">设置图片</button>
			<button type="button" onclick="$('#header').val('')" class="button">删除图片</button>
			<button type="button" onclick="$.thumb({url:$('#header').val()})" class="button">查看图片</button>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请上传大咖说的头像</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{header_readonly}}">
		 	<div class="state-input wide">
		 		<textarea class=""  style="display:none;" id="header">{{higher.header}}</textarea>
		 		<span>
		 	<img lz:if="{{higher.header}}" onclick="$.thumb({url:this.src})" style="margin:10px;padding:1px;border:1px solid;" onload="if(this.width>this.height){this.width=96}else{this.height=96}" src="{{lz.htm(higher.header)}}"/>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$header}}
	{{lz.set("username_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"username"))))}}
	{{lz.set("username_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$username}}
	<dl lz:if="{{username_editable||username_readonly}}" class="username  " major  ref="username">
		<dt>用 户 名:</dt>
		<dd lz:if="{{username_editable}}" input="text">
			<lz:block lz:if="{{higher$username}}">
				{{higher$username}}
			</lz:block>
			<lz:block lz:if="{{!higher$username}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="higher.username" id="username"  value="{{lz.htm(higher.username)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入大咖说的用户名</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{username_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="username">{{higher.username}}</textarea>
		 		<span>
		 	
			 {{lz.html(higher.username$||higher.username)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$username}}
	{{lz.set("titler_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"titler"))))}}
	{{lz.set("titler_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$titler}}
	<dl lz:if="{{titler_editable||titler_readonly}}" class="titler  " major  ref="titler">
		<dt>头　　衔:</dt>
		<dd lz:if="{{titler_editable}}" input="text">
			<lz:block lz:if="{{higher$titler}}">
				{{higher$titler}}
			</lz:block>
			<lz:block lz:if="{{!higher$titler}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="higher.titler" id="titler"  value="{{lz.htm(higher.titler)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入大咖说的头衔</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{titler_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="titler">{{higher.titler}}</textarea>
		 		<span>
		 	
			 {{lz.html(higher.titler$||higher.titler)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$titler}}
	{{lz.set("content_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"content"))))}}
	{{lz.set("content_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$content}}
	<dl lz:if="{{content_editable||content_readonly}}" class="content   wider" major  ref="content">
		<dt>评论内容:</dt>
		<dd lz:if="{{content_editable}}" input="textarea">
			<lz:block lz:if="{{higher$content}}">
				{{higher$content}}
			</lz:block>
			<lz:block lz:if="{{!higher$content}}">
		 	<textarea class="input wide"  id="content" name="higher.content" rows="5">{{higher.content}}</textarea>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入大咖说的评论内容</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{content_readonly}}">
		 	<div class="state-input wide">
		 		<span>
		 	
			 {{lz.html(higher.content$||higher.content)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$content}}
	{{lz.set("displayTime_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"displayTime"))))}}
	{{lz.set("displayTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$displayTime}}
	<dl lz:if="{{displayTime_editable||displayTime_readonly}}" class="displayTime  " major  ref="displayTime">
		<dt>显示时间:</dt>
		<dd lz:if="{{displayTime_editable}}" input="datetime">
			<lz:block lz:if="{{higher$displayTime}}">
				{{higher$displayTime}}
			</lz:block>
			<lz:block lz:if="{{!higher$displayTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="higher.displayTime" id="displayTime"  value="{{higher.displayTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择大咖说的显示时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{displayTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="displayTime">{{higher.displayTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(higher.displayTime$||higher.displayTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$displayTime}}
	{{lz.set("updateTime_editable",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='any'&&(lz.idin(fields,"updateTime"))))}}
	{{lz.set("updateTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$updateTime}}
	<dl lz:if="{{updateTime_editable||updateTime_readonly}}" class="updateTime  " major  ref="updateTime">
		<dt>修改时间:</dt>
		<dd lz:if="{{updateTime_editable}}" input="datetime">
			<lz:block lz:if="{{higher$updateTime}}">
				{{higher$updateTime}}
			</lz:block>
			<lz:block lz:if="{{!higher$updateTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="higher.updateTime" id="updateTime"  value="{{higher.updateTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择大咖说的修改时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{updateTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="updateTime">{{higher.updateTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(higher.updateTime$||higher.updateTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$updateTime}}
	{{lz.set("addTime_editable",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='any'&&(lz.idin(fields,"addTime"))))}}
	{{lz.set("addTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$addTime}}
	<dl lz:if="{{addTime_editable||addTime_readonly}}" class="addTime  " major  ref="addTime">
		<dt>添加时间:</dt>
		<dd lz:if="{{addTime_editable}}" input="datetime">
			<lz:block lz:if="{{higher$addTime}}">
				{{higher$addTime}}
			</lz:block>
			<lz:block lz:if="{{!higher$addTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="higher.addTime" id="addTime"  value="{{higher.addTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择大咖说的添加时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{addTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="addTime">{{higher.addTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(higher.addTime$||higher.addTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$addTime}}
	{{lz.set("status_editable",(edittype=='insert'&&false)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"status"))))}}
	{{lz.set("status_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$status}}
	<dl lz:if="{{status_editable||status_readonly}}" class="status  " major  ref="status">
		<dt>状　　态:</dt>
		<dd lz:if="{{status_editable}}" input="select">
			<lz:block lz:if="{{higher$status}}">
				{{higher$status}}
			</lz:block>
			<lz:block lz:if="{{!higher$status}}">
		 	<select class="narrow" id="status" name="higher.status">
		 		<option value="">请选择</option>
				<option value="1" selected='{{higher.status=="1"?"selected":""}}'>正常</option>
				<option value="0" selected='{{higher.status=="0"?"selected":""}}'>无效</option>
		 	</select>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择大咖说的状态</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{status_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="status">{{higher.status}}</textarea>
		 		<span>
		 	
			 {{lz.html(higher.status$||higher.status)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$status}}
			
			
			<div class="line">
				<center lz:if="{{edittype=='insert'}}">
					<a onclick="$('.ribs').show();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:inline;padding: 0px 15px;">点击展开更多编辑项</a>
					<a onclick="$('.ribs').hide();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:none;padding: 0px 15px;">点击收起更多编辑项</a>
				</center>
			</div>
			<center class="buttons">
				<input type="hidden" value="{{higher.id}}" name="higher.id" id="id" />
			
			<lz:block lz:if="{{edittype=='insert'||edittype=='update'||edittype=='any'}}">
				<button class="button" type="submit">
					&nbsp;<img align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					保存&nbsp;&nbsp;</button>
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="$.closeModalDialog();" type="button">
					&nbsp;<img align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
			
			<lz:block lz:if="{{edittype=='detail'}}">
				<button lz:if="{{canEdit}}" type="button" class="button" onclick='window.location.href="/admin/goods/higher.edit.html?edittype=update&id={{higher.id}}"'>
					&nbsp;<img align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					修改&nbsp;&nbsp;</button>
				<button lz:if="{{canDel}}" type="button" class="button" onclick="deleteHigher('{{higher.id}}','{{higher.id}}')">
					&nbsp;<img align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					删除&nbsp;&nbsp;</button>
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="$.closeModalDialog();" type="button">
					&nbsp;<img align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
					
			</center>
			<br/>

		</div>
	</div>
	<div class="foot"></div>		
</form>


 


<!------------------------VIEW_HTML_BOTTOM------------------------>
<!------------------------VIEW_HTML_BOTTOM------------------------>


</body>

<!------------------------VIEW_HTML_FOOTER------------------------>
<!------------------------VIEW_HTML_FOOTER------------------------>
<script>

</script>
</html>